package cn.calin.day05.demo04;

public class Demo04MethdOverride {
    public static void main(String[] args) {

        System.out.println(sum(2,3,4,1));

    }
    public  static int sum(int i,int a){
        int num=i+a;
        return  num;
    }
    public  static int sum(int i,int a,int c){
        int num=i+a+c;
        return  num;
    }
    public  static int sum(int i,int a,int c,int d){
        int num=i+a+c+d;
        return  num;
    }




}
